package com.zhuimeng.provider.service.impl;

import com.zhuimeng.service.HelloService1;
import org.apache.dubbo.config.annotation.Service;
import org.apache.dubbo.rpc.RpcContext;

@Service
public class HelloService1Impl implements HelloService1 {
    @Override
    public String sayHello(String name) {
        System.out.println(RpcContext.getContext().getAttachment("url"));
        return "Hello "+name+"!";
    }
}
